package com.hzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzj.pojo.Bookingrule;
import com.hzj.pojo.HospitalInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzj
 * @since 2021-04-26
 */
public interface HospitalInfoService extends IService<HospitalInfo> {

    boolean updateAndSave(HospitalInfo hospitalInfo, Bookingrule bookingrule);

    HospitalInfo checkByHoscode(String hoscode);

    IPage getListPage(Page page1, Integer provinceCode, Integer cityCode,String hosname);

    HospitalInfo showHospDetail(int id);

    IPage getPageListByHostype(Page page1, Integer hostype, Integer districtCode);
}
